18. Audio Commands > 18.8 AT^SAIC   Audio Interface Configuration

18.8
AT^SAIC   Audio Interface Configuration
AT^SAIC configures the interface connections of the active audio mode. Please keep in mind that the TC65 Ter­minal has only one analog audio interface.
The write command is usable in audio modes 2 to 6 only.
If AT^SNFS=1, any attempt to use AT^SAIC write command is rejected with error response. This is because all default parameters in audio mode 1 are determined for type approval and are not adjustable.
To allocate a specific audio mode to one of the audio interfaces, first select the audio mode with AT^SNFS and then choose the interface using AT^SAIC.
Syntax
Test Command  
Response(s)
^SAIC:(list of supported <io>s), (list of supported<mic>s), (list of supported<ep>s), (list of supported<clock>s), (list of supported<mode>s), (list of supported<frame_mode>s)
Read Command  
Response(s)
Write Command  
Response(s)
Reference(s) 
PIN 
ASC0 
ASC1 
USB 
MUX1 
MUX2 
MUX3 
Charge 
Last 

Parameter Description
 
<io>(num)(^SNFW)
Input and output selection
1
Digital input and output (DAI) of the TC65 Module, not applicable to TC65 Ter­minal
2
Analog input and output
 
<mic>(num)(^SNFW)
Microphone selection
1
Microphone 1
2
Microphone 2
Not applicable to TC65 Terminal
 
<ep>(num)(^SNFW)
Select differential earpiece amplifier
1
Selects the earpiece amplifier 1
2
Selects the earpiece amplifier 2
Not applicable to the TC65 Terminal
3
Selects both amplifiers. Note that both amplifiers are connected in parallel and therefore, get the same output power if <ep>=3.
Not applicable to the TC65 Terminal
 
<clock>(num)(^SNFW)
Parameter is mandatory if <io>=1 (digital).
0
256kHz clock
1
512kHz clock
 
<mode>(num)(^SNFW)
Parameter is mandatory if <io>=1 (digital).
0
Master mode
1
Slave mode
 
<frame_mode>(num)(^SNFW)
Parameter is mandatory if <io>=1 (digital).
0
Short frame
1
Long frame


Notes
•
The factory defaults of AT^SAIC vary with the selected audio mode.
If AT^SNFS=1 or 4 or 5, then AT^SAIC=2,1,1,0,0,0.
If AT^SNFS=2 or 3 or 6, then AT^SAIC=2,2,2,0,0,0. (Although given by default, this setting applies to the TC65 module only, it cannot be used with the TC65 Terminal where the second audio interface is not con­nected. Nevertheless, you can configure TC65 Terminal for operation with audio modes 2, 3 or 6 by setting AT^SAIC=2,1,1 instead. See examples provided with AT^SNFS.)
AT^SNFD can be used to reset the factory defaults.
•
For use after restart of the ME, you are advised to store the settings of AT^SAIC and AT^SNFS to the audio profile saved with AT^SNFW. Otherwise, audio mode 1 (AT^SNFS=1) and audio interface 2 (AT^SAIC=2,1,1,0,0,0) will be active each time the ME is powered up.
•
The parameters <clock>, <mode> and <frame_mode> are mandatory, if parameter <io> is set to 1 (digi­tal). These parameters can be used to configure the PCM functionality over the digital audio interface (DAI). The PCM interface supports master or slave mode, short frame or long frame synchronization and 256 kHz or 512 kHz bit clock frequency. In slave mode the clock frequency setting has no influence, because of the BCLKIN signal being directly used for data shifting. The setting may therefore be either 0 or 1. The table below lists possible configuration combinations.